<script setup>
import SonComponent1 from '@/components/SonComponent1.vue'
import SonComponent2 from '@/components/SonComponent2.vue'
import {compositionTestStore} from "@/store/systemStore";

const testStore = compositionTestStore()

testStore.initCount(101)
</script>

<template>
  <div class="app">
    <h3>我是根组件 - {{testStore.count}}</h3>
    <SonComponent1></SonComponent1>
    <SonComponent2></SonComponent2>
  </div>
</template>

<style scoped>

</style>
